<template>
    <div>
        <h4>-----Son-----</h4>
        {{attr.userName}}|{{attr.age}}
    </div>
</template>

<script>
export default {
    name: "Son",
    props:['attr','click'],
    mounted() {
        this.$emit("click");
    }
}
</script>

<style scoped>

</style>